﻿
<script type="text/javascript">
<?php
if($siteset['action'] == 'repost')
{
    echo 'a(1);';
    echo 'var c="reposttui";';
    $r = ' active';
    $rr = 'class="active"';
    $f ='';
    $ff = '';
}else{
   //echo 'var e=1';
    echo 'var c="followtui";';
    $f = ' active';
    $ff = 'class="active"';
    $r ='';
    $rr ='';
}



?>
</script>
    <style type="text/css">
       
        #window{
            width: 1000px;
            height: 560px;
            position:fixed;
            top: 50%;
            left: 50%;
            margin-top: -310px;
            margin-left: -500;
            padding: 25px;
            background: #fff;
            display: none;
        } 
        .close{
          position: absolute;
          top: 0;
          right: 0;
          padding: 5px;
        }
        .iframe-content{
            width:1000px;
            height:500px;
        }
        .iframe-bottom{
          position: absolute;
          bottom: 10px;
          right: 25px;
          color: #ff8a00;
        }
        .iframe-bottom span{
          float: left;
          margin-top: 20px;
          margin-right: 20px;
        }
        .iframe-bottom .receive{
          display: inline-block;
          float: left;
        }

    </style>
    <div id="mid-con_bguanzhu">
      <div id="c_list"><div style='position:relative;'><a id='refresh' href="javascript:;" class='tab-btn' title='刷新'><img class='png_bg' src="/img/refresh.png" alt='刷新'></a></div>
  <ul class="nav nav-tabs">
            	<li <?=$ff?>><a href="#followtui" data-toggle="tab">关注别人赚积分</a></li>
                <li <?=$rr?>><a href="#reposttui" data-toggle="tab">转发赚积分</a></li>
<!--<li><a href="http://www.aihufen.com/welcome/myauto" target="_blank"><strong>自动赚积分（荐）</strong></a></li>-->
                
</ul>
         
         <div class="tab-content">
        <div class="tab-pane<?=$f?>" id="followtui">
            <p style="margin:10px 0 15px 0;*margin:0 0 5px 0;" class="alert">系统实时监测，7天内取消关注者将扣除所得积分，返还给求关注者！</p>
          <div class="region">
		<span>所有地区</span>
		<a href="javascript:void(0);" class="regionchange">[切换]</a>  　 　    (每小时只能关注
		<?=$siteset['follow_limits_per_hour']?>个。<?=$siteset['follow_validity']?>小时内不得取消关注)
<!--<a href="javascript:;" class='btn btn-info right' id='follow_all_btn' style='z-index:1011;position:relative;' >一键关注</a>--></div>
<span style="color:red;font-size:10px;">注：关注之后回到本页面领取积分</span>
             <div  class='followtuis'></div>
               
         </div>
        <div class="tab-pane <?=$r?>" id="reposttui">
<p style="margin: 10px 0px 15px; display: block; " class="alert hide">系统实时监测，24小时内删除转发将扣除所得积分，返还给求转发者！</p>
        <div class='region hide clearfix'>	
              <input type="button" id="btn_showgood"   class="btn" value="只显示优秀微薄（无广告）" />
               　  　   (每小时只能转<?=$siteset['rt_limits_per_hour']?>条。<?=$siteset['rt_validity']?>小时内不得删除转发)
             
         </div><span style="color:red;font-size:10px;">注：转发之后回到本页面领取积分</span>

        <div class='reposttuis'>
        </div>
        </div>
             
     </div>
          <div class="pagination pagination-centered f12"><ul><li><a href="javascript:;" class="previous">上一组</a></li><li><a href="javascript:;" class="current">1</a></li><li><a href="javascript:;" class="next">下一组</a></li></ul></div>

 <script type="text/javascript" src="../js/getjf.js"></script>
         </div>
     </div>
     
<div class="span1 right" style="margin-left: 12px;margin-top: -15;">
<div class="box1" style="min-height:410px; _height:400px;">
<div class="mb20" style="border-bottom:1px solid #DDD; padding-bottom:15px;">
<h2>最新公告</h2>	
<p class="mb10"><a href="<?=site_url('welcome/prizes');?>">幸运彩蛋抽奖火热上线>></a></p> 
</div>
<div class="mb20" style="border-bottom:1px solid #ccc; padding-bottom:20px;"><a href=""><img src="/img/typt.png"></a></div>
<div class="mb20" style="border-bottom:1px solid #DDD; padding-bottom:20px;"><p><img src="http://www.aihufen.com/img/weibo_gg.png"/></p></div>
	      <h2>联系我们</h2>
              如果想要深入合作请联系QQ：483046792，或者<span style="color:#FF0000;">@爱互粉</span>欢迎提出宝贵的意见或建议。<br><br> 欢迎大家加入qq群交流<br>
qq群20：651484963 <br>

</div>
<script src="/js/weibo.js?version=201301061532"></script>
<script src="/js/index.js"></script>

  <div id="window">
        <div class="close" onclick='close1(this)'><img src="/images/btn_cancel.png"></div>  
        <div class="iframe-content">  
            <iframe id="openiframe" src="http://aihufen.com" width="100%" height="100%"  allowtransparency="true">
			
			  </iframe>
        </div>
        <div class="iframe-bottom"><span id="jifen"></span><a id="uid" name="" href="javascript:void(0)" onclick="tu_tfollows(this.name, this)" class="receive"><img src="/images/btn_nor.png"></a></div>  
      </div>
	
   <script type="text/javascript">
		function btn(uid,url,jifen){
		
		$("#uid").attr("name",uid);
		$("#jifen").html("积分："+jifen+"分");
		$("#openiframe").attr("src",url);
			$("#openiframe").attr("src",url);
			$("#window").show()
		}
		function close1(){
			$("#window").hide()
		}
      
      $(".receive").on("click",function () {
        // body...
      })
 
   </script>
 